package com.simple.microservices.commons.constant;

/**
 * LoginConstant
 */
public interface LoginConstant {

    /**
     * 验证码:message_type:cellphone
     */
    String CELLPHONE_MESSAGE_CODE = "cellphone:message:code:%s:%s";
    String USER_TOKEN_KEY = "user:login:%s";
    /**
     * 短信类型
     */
    String MESSAGE_TYPE_LOGIN = "login";
    /**
     * 登陆类型
     */
    String LOGIN_TYPE = "member";
    /**
     * 设备类型
     */
    String EQUIPMENT_TYPE = "equipmentType";
    /**
     * 用户ID
     */
    String USER_ID = "userId";
    /**
     * token
     */
    String TOKEN = "token";
    /**
     * 身份
     */
    String IDENTITY = "identity";
    /**
     * 语言
     */
    String LANGUAGE = "language";
    /**
     * 默认设备
     */
    String ANDROID = "Android";
    /**
     * 访问请求来源
     */
    String FROM = "from";
}
